﻿using Bitcoin.Cryptography;

namespace Bitcoin
{
    public static class Temp_EcKey
    {
        public static BitcoinAddress ToAddress(KeyPair ecKey, ChainParameters parameters)
        {
            return new BitcoinAddress(parameters, ecKey.PubKeyHash);
        }
    }
}